
/**   
*    
* ��Ŀ��ƣ�a_yongan   
* ����ƣ�UserService   
* ��������   
* �����ˣ�liubo   
* ����ʱ�䣺2018��5��29�� ����9:29:17    
* �޸�ʱ�䣺2018��5��29�� ����9:29:17   
* �޸ı�ע��   
* @version    
*    
*/
package com.yongan.user.service;

import java.util.List;

import com.yongan.user.dto.UserExecution;
import com.yongan.user.dto.UserExposer;
import com.yongan.user.entity.User;
import com.yongan.user.exception.UserException;

/**
 * @author liubo
 *
 */
public interface UserService {

	List<User> getUserList(int offset,int limit);
	
	User getUserById(String userId);
	
	List<User> getUserListByDeptId(String deptId,int offset,int limit);
	
	UserExposer exportUserUrl(String userId);
	
	//UserExposer addUser(User user);
	
	UserExecution executeUser(User user,String userId,String md5) throws UserException;
	
	User checkUser(String userName,String userPassword);
	
	User checkUserById(String userId,String userPassword);
	
	int getUserCount(String title, String value);
	
	int getCountByDeptId(String deptId);
	
	List<User> getUserListTree();
}
